.container {
  padding: 1.5rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--background-secondary);
  overflow-y: auto;
}

.header {
  margin-bottom: 2rem;
}

.title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.subtitle {
  color: var(--foreground-tertiary);
  font-size: 1rem;
}

.statsGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.statCard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.statCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.statIcon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.statIcon svg {
  width: 24px;
  height: 24px;
}

.statContent {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.statValue {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.25rem;
  line-height: 1;
}

.statLabel {
  font-size: 0.875rem;
  color: var(--foreground-tertiary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.statTrend {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chartContainer {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* 性能监控区域 */
.performanceGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.performanceCard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.performanceHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.performanceTitle {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0;
}

.performanceList {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.performanceItem {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--background-secondary);
  border-radius: 8px;
  transition: background-color 0.2s;
}

.performanceItem:hover {
  background: var(--background-tertiary);
}

.performanceIcon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--background-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground-secondary);
  flex-shrink: 0;
}

.performanceInfo {
  flex: 1;
  min-width: 0;
}

.performanceName {
  font-size: 0.875rem;
  color: var(--foreground-secondary);
  margin-bottom: 0.25rem;
}

.performanceValue {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.performanceTrend {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trendValue {
  font-size: 0.75rem;
  font-weight: 500;
}

/* 公告列表样式 */
.announcementsList {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.announcementItem {
  padding: 1rem;
  background: var(--background-secondary);
  border-radius: 8px;
  border-left: 3px solid var(--border);
  transition: all 0.2s;
  cursor: pointer;
}

.announcementItem:hover {
  background: var(--background-tertiary);
  border-left-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.announcementItem:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.announcementHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.announcementType {
  display: flex;
  justify-content: flex-start;
}

.announcementTitle {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.announcementTime {
  font-size: 0.75rem;
  color: var(--foreground-tertiary);
  white-space: nowrap;
}

.announcementContent {
  font-size: 0.8rem;
  color: var(--foreground-secondary);
  line-height: 1.4;
}


/* 响应式设计 */
@media (max-width: 1200px) {
  .statsGrid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .performanceGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  .title {
    font-size: 1.5rem;
  }
  
  .statsGrid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .statCard {
    padding: 1rem;
  }
  
  .statValue {
    font-size: 1.5rem;
  }
  
  .performanceCard {
    padding: 1rem;
  }
}

